﻿#region NeoPatterns
// 
// NeoPatterns framework is released under LGPLv3 license.
// See http://www.opensource.org/licenses/lgpl-3.0.html for more details.
// 
// Please visit http://neopatterns.wikidot.com for more information about NeoPatterns
// 
// Copyright (c) Pascal Craponne 2008
// 
#endregion

using System.Reflection;

namespace NeoPatterns.Core.Aop
{
    /// <summary>
    /// AOP advisor, called when a point-cut applies
    /// </summary>
    public interface IClaimingAdvisor: IAdvisor
    {
        /// <summary>
        /// Property exposed by an object advised by this advisor, free to advisor
        /// </summary>
        PropertyInfo Claims { get; set; }

        /// <summary>
        /// Called to initialize Claims property in object
        /// </summary>
        void InitializeClaims(object proxy);
    }
}